package ru.zombator.taskman.core.dbclient.impl;

import java.util.UUID;

import ru.zombator.taskman.core.domain.ITaskProject;

/**
 * Проект с задачами
 * 
 * @see ITaskProject
 * @author nvamelichev
 *
 */
public class TaskProject implements ITaskProject {
	private static final long serialVersionUID = 1L;
	
	private UUID id;
	private String name;
	private String passwordHash;
	
	public TaskProject(UUID id, String name, String passwordHash) {
		this.id = id;
		this.name = name;
		this.passwordHash = passwordHash;
	}
	
	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public String getPasswordHash() {
		return this.passwordHash;
	}

	@Override
	public UUID getId() {
		return this.id;
	}
}
